package com.aaa.ssm.service;

import com.aaa.ssm.entity.Dicgchannel;
import com.aaa.ssm.entity.Startegy;
import com.aaa.ssm.util.Page;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface StartegyService {
    PageInfo queryPage(Page<Startegy> page);
    //测试 可忽略
    PageInfo queryById(Page<Startegy> page);

    /**
     * 实现景区咨询动态
     * @param page
     * @return
     */
    PageInfo queryByIdA(Page<Dicgchannel> page);
    int add(Startegy startegy);
    int update(Startegy startegy);
    int delete(int id);
}
